# Carbon Jiao <http://archlive-pkg.googlecode.com>

pkgname=larchin-syscalls-svn
_realpkgname=larchin-syscalls
pkgver=407
pkgrel=1
pkgdesc="larch项目之一，安装archlive系统到硬盘, 加入了中文支持"
url="http://larch.berlios.de"
depends=()
arch=(i686 x86_64)
license=('GPL')
src=()

_svnmod="larchin-syscalls"
_svntrunk="http://svn.berlios.de/svnroot/repos/larch/branches/larch6/$_svnmod"

build() {
  cd $startdir/src
  msg "Connecting to $_svnmod SVN server...."
  svn co $_svntrunk $_svnmod -r $pkgver 

  msg "SVN checkout done or server timeout"
  cd $_svnmod
  msg "Starting make..."

  mkdir -p ${pkgdir}/opt/larchin
  cp -dr ${srcdir}/${_realpkgname}/syscalls ${pkgdir}/opt/larchin
  rm -rf `find ${pkgdir} -name ".svn" -type d`
}
